package o;

import android.util.Property;
import android.view.ViewGroup;
import o.aqu.j;

public class aqr extends Property<ViewGroup, Float> {
    public static final Property<ViewGroup, Float> ˊ = new aqr("childrenAlpha");

    public /* synthetic */ Object get(Object obj) {
        return ˋ((ViewGroup) obj);
    }

    public /* synthetic */ void set(Object obj, Object obj2) {
        ˊ((ViewGroup) obj, (Float) obj2);
    }

    private aqr(String str) {
        super(Float.class, str);
    }

    public Float ˋ(ViewGroup viewGroup) {
        Float f = (Float) viewGroup.getTag(j.ॱॱ);
        return f != null ? f : Float.valueOf(1.0f);
    }

    public void ˊ(ViewGroup viewGroup, Float f) {
        float floatValue = f.floatValue();
        viewGroup.setTag(j.ॱॱ, Float.valueOf(floatValue));
        int childCount = viewGroup.getChildCount();
        for (int i = 0; i < childCount; i++) {
            viewGroup.getChildAt(i).setAlpha(floatValue);
        }
    }
}
